﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Hx.ADSyncPlatform.Common.Requests
{
    public class SaveColumnMappingRequest
    {

        [Required(ErrorMessage = "AzureAd列名不允许为空")]
        public string AzureADColumn { get; set; }


        public string InterfaceColumn { get; set; }

        public bool IsAdd { get; set; }


        public bool IsKey { get; set; }

        public bool IsMultiple { get; set; }


        public bool IsUpdate { get; set; }


        public List<string> InterfaceColumns { get; set; }


        public List<string> InterfaceColumnsSpliter { get; set; }
    }

    public static class Spliter
    {
        public static string Space = "&blank";

        public static string Slant = "&Slant";
    }

}
